<%-- 
    Document   : vagasFuncao
    Created on : 14/12/2010, 18:27:32
    Author     : Inael
--%>

<%--
    Document   : vagasPorCidade
    Created on : 14/12/2010, 17:54:30
    Author     : Ramayane
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" language="java"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">


<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link rel="stylesheet" type="text/css" href="../css/ebeformatacao.css" />
    </head>
    <body class="fundo">
        <f:view locale="#{idioma.atual}">

            <f:subview id="cabecalho">
                <jsp:include page="cabecalho.jsp" />
            </f:subview>

            <h:form id="mostrarVagas">
                <div align="center"><br/><br/>
                    <h:dataTable value="#{controlVaga.vagasPorCidade}" var="item" >
                        <f:facet name="header">
                            <h:panelGrid columns="1">
                                <h:outputText value="#{msgs['buscar.vagasEncontradas']}" styleClass="titulos" />
                            </h:panelGrid>
                        </f:facet>

                        <h:column>
                            <f:facet name="header">
                                <h:outputText value="Vagas por cidade" styleClass="titulosPretos" />
                            </f:facet>
                        </h:column>

                        <h:column>
                            <f:facet name="header">
                                <h:outputText value="#{msgs['buscar.estado']}" styleClass="titulosPretos" />
                            </f:facet>
                            <h:outputText value="#{item.estado}" styleClass="labels" />
                        </h:column>

                        <h:column>
                            <f:facet name="header">
                                <h:outputText value="#{msgs['buscar.cidade']}" styleClass="titulosPretos" />
                            </f:facet>
                            <h:outputText value="#{item.cidade}" styleClass="labels" />
                        </h:column>

                        <h:column>
                            <f:facet name="header">
                                <h:outputText value="Quantidade" styleClass="titulosPretos" />
                            </f:facet>
                            <h:outputText value="#{item.qtde}" styleClass="labels" />
                        </h:column>

                    </h:dataTable>
                </div>
            </h:form>

            <f:subview id="rodape">
                <jsp:include page="rodape.jsp" />
            </f:subview>

        </f:view>
    </body>
</html>
